import request from '@/utils/request'
export function getData() {
  return request({
    url: '/user'
  })
}
export function getList() {
  return request({
    url: '/shop'
  })
}
export function getshopID(data) {
  return request({
    url: `/shop?${data}`
  })
}
export function getID(data) {
  return request({
    url: `/order?${data}`
  })
}
export function getOrder() {
  return request({
    url: `/order`
  })
}
export function getUserID(data) {
  return request({
    url: `/order?user_id=${data.id}`
  })
}
export function referData(data) {
  return request({
    url: `/user?username_like=${data.name}&mobile_like=${data.value}`
  })
}
export function dater(page) {
  return request({
    url: `/user?_page=${page.page}&_limit=${page.pagesize}`
  })
}
export function date(page) {
  return request({
    url: `/shop?_page=${page.page}&_limit=${page.pagesize}`
  })
}

export function zzquser() {
  return request({
    url: `/user`
  })
}

export function zzqshop() {
  return request({
    url: `/shop`
  })
}